package com.xin.mapper;

import com.xin.entity.SOrg;
import com.xin.entity.SRoleOrg;
import com.baomidou.mybatisplus.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
  * 角色组织关系表 Mapper 接口
 * </p>
 *
 * @author l1
 * @since 2017-12-05
 */
public interface SRoleOrgDao extends BaseMapper<SRoleOrg> {

    List<SOrg> findOrgByRoles(List<Integer> roleIds);
}